using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Leeder.Entity;
using SqlSugar;

namespace LeederWinApp.Entity
{
    /// <summary>
    /// 
    /// </summary>
    [DataMapping(DbType.Sqlite, "LeederSystem", "LeederSystem_Setup")]
    public class SetupEntity : BaseEntity
    {
        /// <summary>
        /// 系统名称
        /// </summary>
        public string AppName { get; set; }
        /// <summary>
        /// 是否自动登录
        /// </summary>
        public bool IsAutoLogin { get; set; }
        /// <summary>
        /// 默认登录或切换账号ID
        /// </summary>
        public long DefaultAccountID { get; set; }
        /// <summary>
        /// 公司主页地址
        /// </summary>
        public string HomePageUrl { get; set; }
        /// <summary>
        /// 关于
        /// </summary>
        public string About { get; set; }
        /// <summary>
        /// 帮助框显示文本
        /// </summary>
        public string Help { get; set; }
        /// <summary>
        /// 无操作降权时间
        /// </summary>
        public int ResetTime { get; set; }
        /// <summary>
        /// 是否重定向页面
        /// </summary>
        public bool IsReplacePage { get; set; }
        /// <summary>
        /// 重定向页面编号
        /// </summary>
        public int ReplacePageNo { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsPhantom { get; set; }
    }
}